#include "Parameters.h"

     Parameters::Parameters(){};
void Parameters::setLeftR(float v){left_r = v;}
void Parameters::setRightR(float v) {right_r = v;}
void Parameters::setUpZ(float v) {up_z = v;}
void Parameters::setDownZ(float v) {down_z = v;}
void Parameters::setNumberR(int v) {number_r = v;}
void Parameters::setNumberZ(int v) {number_z = v;}




void Parameters::setAlpha(float v) {alpha = v;}
void Parameters::setBeta(float v) {beta = v;}
void Parameters::setBetaPl(float v) {beta_pl = v;}
void Parameters::setI(float v) {pl_total_current = v;}
void Parameters::setPsiG(float v){psi_g = v;}



void Parameters::setPlasmaLeftR(float v) {plasma_left_r = v;}
void Parameters::setPlasmaRightR(float v) {plasma_right_r = v;}
void Parameters::setPlasmaUpZ(float v) {plasma_up_z = v;}
void Parameters::setPlasmaDownZ(float v) {plasma_down_z = v;}

void Parameters::setPrecision(float v) {precision = v;}

void Parameters::setCoilDataFile(const char* v){coil_data_file = v;
}



float Parameters::getLeftR() {return left_r;}
float Parameters::getRightR() { return right_r;}
float Parameters::getUpZ() {return up_z;}
float Parameters::getDownZ() {return down_z;}
  int Parameters::getNumberR() {return number_r;}
  int Parameters::getNumberZ() {return number_z;}
float Parameters::getR0() {
    //return (right_r - left_r)/2.;
    //r_max instead r_center
   return 2.5*right_r;
}

float Parameters::getAlpha() { return alpha;}
float Parameters::getBeta() {return beta;}
float Parameters::getBetaPl() {return beta_pl;}
float Parameters::getI() { return pl_total_current;}
float Parameters::getPsiG() { return psi_g;}

float Parameters::getPlasmaLeftR() {return plasma_left_r;}
float Parameters::getPlasmaRightR(){return  plasma_right_r;}
float Parameters::getPlasmaUpZ()   {return plasma_up_z;}
float Parameters::getPlasmaDownZ() {return plasma_down_z;}

float Parameters::getPrecision() { return precision;}

const char* Parameters::getCoilDataFile(){return coil_data_file;}
